package com.feiyi.app.bean;

import java.util.List;

/**
 * @author wangliantao
 * @time 2018 12 2018/12/8 5:59 PM
 * @email 1346947404@qq.com
 * @package com.feiyi.app.bean
 * @describe： 订单列表数据实体类，待付款，待收货，待评价和全部订单全是这个
 * In me the tiger sniffs the rose
 */
public class OrderListBean {


    /**
     * data : [{"order_id":"3","order_sn":"2018111823719","order_time":"11/18 17:47","total_fee":"￥5908.00元","type":"已确认,已付款,配货中","goods_list":[{"goods_id":"7","name":"【非遗传承】格物 和气生财碗 6英寸 大面碗","goods_number":"1","subtotal":"￥45.00元","formated_shop_price":"￥45.00元","img":{"small":"http://ecshop.nihongmao.cn/images/201807/thumb_img/2_thumb_G_1531520174876.jpg","thumb":"http://ecshop.nihongmao.cn/images/201807/goods_img/2_G_1531520174252.jpg","url":"http://ecshop.nihongmao.cn/images/201807/source_img/2_G_1531520174262.jpg"}},{"goods_id":"10","name":"【非遗传承】堂悦坊 龙泉青瓷坤贞母杯手工杯 一杯一托 天然流釉","goods_number":"1","subtotal":"￥1780.00元","formated_shop_price":"￥1780.00元","img":{"small":"http://ecshop.nihongmao.cn/images/201807/thumb_img/5_thumb_G_1531520697268.jpg","thumb":"http://ecshop.nihongmao.cn/images/201807/goods_img/5_G_1531520697677.jpg","url":"http://ecshop.nihongmao.cn/images/201807/source_img/5_G_1531520697103.jpg"}},{"goods_id":"8","name":"非遗传承【Auratic】国瓷永丰源 夫人瓷22头家用套装碗盘碟勺陶瓷 中式餐具","goods_number":"1","subtotal":"￥3680.00元","formated_shop_price":"￥3680.00元","img":{"small":"http://ecshop.nihongmao.cn/images/201807/thumb_img/3_thumb_G_1531520353362.jpg","thumb":"http://ecshop.nihongmao.cn/images/201807/goods_img/3_G_1531520353739.jpg","url":"http://ecshop.nihongmao.cn/images/201807/source_img/3_G_1531520353286.jpg"}}],"formated_integral_money":"￥0.00元","formated_bonus":"￥10.00元","formated_shipping_fee":"￥5.00元","order_info":{"pay_code":"alipay","order_amount":"0.00","order_id":"3","subject":"【非遗传承】格物 和气生财碗 6英寸 大面碗等3种商品","desc":"【非遗传承】格物 和气生财碗 6英寸 大面碗等3种商品","order_sn":"2018111823719"}}]
     * status : {"succeed":1}
     * paginated : {"total":1,"count":1,"more":0}
     */

    private StatusBean status;
    private PaginatedBean paginated;
    private List<DataBean> data;

    public StatusBean getStatus() {
        return status;
    }

    public void setStatus(StatusBean status) {
        this.status = status;
    }

    public PaginatedBean getPaginated() {
        return paginated;
    }

    public void setPaginated(PaginatedBean paginated) {
        this.paginated = paginated;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "OrderListBean{" +
                "status=" + status +
                ", paginated=" + paginated +
                ", data=" + data +
                '}';
    }

    public static class StatusBean {
        /**
         * succeed : 1
         */

        private int succeed;
        private String error_code;
        private String error_desc;

        public int getSucceed() {
            return succeed;
        }

        public void setSucceed(int succeed) {
            this.succeed = succeed;
        }

        public String getError_code() {
            return error_code;
        }

        public void setError_code(String error_code) {
            this.error_code = error_code;
        }

        public String getError_desc() {
            return error_desc;
        }

        public void setError_desc(String error_desc) {
            this.error_desc = error_desc;
        }

        @Override
        public String toString() {
            return "StatusBean{" +
                    "succeed=" + succeed +
                    ", error_code='" + error_code + '\'' +
                    ", error_desc='" + error_desc + '\'' +
                    '}';
        }
    }

    public static class PaginatedBean {
        /**
         * total : 1
         * count : 1
         * more : 0
         */

        private int total;
        private int count;
        private int more;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getMore() {
            return more;
        }

        public void setMore(int more) {
            this.more = more;
        }
    }

    public static class DataBean {
        /**
         * order_id : 3
         * order_sn : 2018111823719
         * order_time : 11/18 17:47
         * total_fee : ￥5908.00元
         * type : 已确认,已付款,配货中
         * goods_list : [{"goods_id":"7","name":"【非遗传承】格物 和气生财碗 6英寸 大面碗","goods_number":"1","subtotal":"￥45.00元","formated_shop_price":"￥45.00元","img":{"small":"http://ecshop.nihongmao.cn/images/201807/thumb_img/2_thumb_G_1531520174876.jpg","thumb":"http://ecshop.nihongmao.cn/images/201807/goods_img/2_G_1531520174252.jpg","url":"http://ecshop.nihongmao.cn/images/201807/source_img/2_G_1531520174262.jpg"}},{"goods_id":"10","name":"【非遗传承】堂悦坊 龙泉青瓷坤贞母杯手工杯 一杯一托 天然流釉","goods_number":"1","subtotal":"￥1780.00元","formated_shop_price":"￥1780.00元","img":{"small":"http://ecshop.nihongmao.cn/images/201807/thumb_img/5_thumb_G_1531520697268.jpg","thumb":"http://ecshop.nihongmao.cn/images/201807/goods_img/5_G_1531520697677.jpg","url":"http://ecshop.nihongmao.cn/images/201807/source_img/5_G_1531520697103.jpg"}},{"goods_id":"8","name":"非遗传承【Auratic】国瓷永丰源 夫人瓷22头家用套装碗盘碟勺陶瓷 中式餐具","goods_number":"1","subtotal":"￥3680.00元","formated_shop_price":"￥3680.00元","img":{"small":"http://ecshop.nihongmao.cn/images/201807/thumb_img/3_thumb_G_1531520353362.jpg","thumb":"http://ecshop.nihongmao.cn/images/201807/goods_img/3_G_1531520353739.jpg","url":"http://ecshop.nihongmao.cn/images/201807/source_img/3_G_1531520353286.jpg"}}]
         * formated_integral_money : ￥0.00元
         * formated_bonus : ￥10.00元
         * formated_shipping_fee : ￥5.00元
         * order_info : {"pay_code":"alipay","order_amount":"0.00","order_id":"3","subject":"【非遗传承】格物 和气生财碗 6英寸 大面碗等3种商品","desc":"【非遗传承】格物 和气生财碗 6英寸 大面碗等3种商品","order_sn":"2018111823719"}
         */

        private String order_id;
        private String order_sn;
        private String order_time;
        private String total_fee;
        private String type;
        private String formated_integral_money;
        private String formated_bonus;
        private String formated_shipping_fee;
        private OrderInfoBean order_info;
        private List<GoodsListBean> goods_list;

        public String getOrder_id() {
            return order_id;
        }

        public void setOrder_id(String order_id) {
            this.order_id = order_id;
        }

        public String getOrder_sn() {
            return order_sn;
        }

        public void setOrder_sn(String order_sn) {
            this.order_sn = order_sn;
        }

        public String getOrder_time() {
            return order_time;
        }

        public void setOrder_time(String order_time) {
            this.order_time = order_time;
        }

        public String getTotal_fee() {
            return total_fee;
        }

        public void setTotal_fee(String total_fee) {
            this.total_fee = total_fee;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getFormated_integral_money() {
            return formated_integral_money;
        }

        public void setFormated_integral_money(String formated_integral_money) {
            this.formated_integral_money = formated_integral_money;
        }

        public String getFormated_bonus() {
            return formated_bonus;
        }

        public void setFormated_bonus(String formated_bonus) {
            this.formated_bonus = formated_bonus;
        }

        public String getFormated_shipping_fee() {
            return formated_shipping_fee;
        }

        public void setFormated_shipping_fee(String formated_shipping_fee) {
            this.formated_shipping_fee = formated_shipping_fee;
        }

        public OrderInfoBean getOrder_info() {
            return order_info;
        }

        public void setOrder_info(OrderInfoBean order_info) {
            this.order_info = order_info;
        }

        public List<GoodsListBean> getGoods_list() {
            return goods_list;
        }

        public void setGoods_list(List<GoodsListBean> goods_list) {
            this.goods_list = goods_list;
        }

        public static class OrderInfoBean {
            /**
             * pay_code : alipay
             * order_amount : 0.00
             * order_id : 3
             * subject : 【非遗传承】格物 和气生财碗 6英寸 大面碗等3种商品
             * desc : 【非遗传承】格物 和气生财碗 6英寸 大面碗等3种商品
             * order_sn : 2018111823719
             */

            private String pay_code;
            private String order_amount;
            private String order_id;
            private String subject;
            private String desc;
            private String order_sn;

            public String getPay_code() {
                return pay_code;
            }

            public void setPay_code(String pay_code) {
                this.pay_code = pay_code;
            }

            public String getOrder_amount() {
                return order_amount;
            }

            public void setOrder_amount(String order_amount) {
                this.order_amount = order_amount;
            }

            public String getOrder_id() {
                return order_id;
            }

            public void setOrder_id(String order_id) {
                this.order_id = order_id;
            }

            public String getSubject() {
                return subject;
            }

            public void setSubject(String subject) {
                this.subject = subject;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getOrder_sn() {
                return order_sn;
            }

            public void setOrder_sn(String order_sn) {
                this.order_sn = order_sn;
            }
        }

        public static class GoodsListBean {
            /**
             * goods_id : 7
             * name : 【非遗传承】格物 和气生财碗 6英寸 大面碗
             * goods_number : 1
             * subtotal : ￥45.00元
             * formated_shop_price : ￥45.00元
             * img : {"small":"http://ecshop.nihongmao.cn/images/201807/thumb_img/2_thumb_G_1531520174876.jpg","thumb":"http://ecshop.nihongmao.cn/images/201807/goods_img/2_G_1531520174252.jpg","url":"http://ecshop.nihongmao.cn/images/201807/source_img/2_G_1531520174262.jpg"}
             */

            private String goods_id;
            private String name;
            private String goods_number;
            private String subtotal;
            private String formated_shop_price;
            private ImgBean img;

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getGoods_number() {
                return goods_number;
            }

            public void setGoods_number(String goods_number) {
                this.goods_number = goods_number;
            }

            public String getSubtotal() {
                return subtotal;
            }

            public void setSubtotal(String subtotal) {
                this.subtotal = subtotal;
            }

            public String getFormated_shop_price() {
                return formated_shop_price;
            }

            public void setFormated_shop_price(String formated_shop_price) {
                this.formated_shop_price = formated_shop_price;
            }

            public ImgBean getImg() {
                return img;
            }

            public void setImg(ImgBean img) {
                this.img = img;
            }

            public static class ImgBean {
                /**
                 * small : http://ecshop.nihongmao.cn/images/201807/thumb_img/2_thumb_G_1531520174876.jpg
                 * thumb : http://ecshop.nihongmao.cn/images/201807/goods_img/2_G_1531520174252.jpg
                 * url : http://ecshop.nihongmao.cn/images/201807/source_img/2_G_1531520174262.jpg
                 */

                private String small;
                private String thumb;
                private String url;

                public String getSmall() {
                    return small;
                }

                public void setSmall(String small) {
                    this.small = small;
                }

                public String getThumb() {
                    return thumb;
                }

                public void setThumb(String thumb) {
                    this.thumb = thumb;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }
}
